const BaseMixin = {
  data () {
    return {
    }
  },
  methods: {
    getMaxSortNum (tableData) {
      const sortNumArr = []
      tableData.map((item) => { sortNumArr.push(item.sortNum) })
      // console.log(sortNumArr)
      if (sortNumArr.length <= 0) {
        return 0
      }
      return Math.max(...sortNumArr)
    }
  }
}

export default BaseMixin
